package org.apache.ocean.main.name;

import java.util.Date;

import org.apache.ocean.database.DB;
import org.apache.ocean.main.util.CElement;
import org.apache.ocean.main.util.XMLUtil;
import org.jdom.Element;

public class Cell implements CElement {
	@DB(primarykey=true)
	public String id;
	public Date dateCreated;
	public Long replicationId;  
  
	public Cell(Element element) throws Exception {
		XMLUtil.reflectToObject(this, element);
	}
	
  public Element toElement() throws Exception {
  	return XMLUtil.reflectToElement("cell", this);
  }
}
